package com.cheng.project.library.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cheng
 * @since 2018-10-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tbl_book")
@ApiModel(value="BookPo对象", description="")
public class BookPo extends SuperPo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "书名")
    private String name;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "价钱")
    private Double price;

    @ApiModelProperty(value = "简介")
    private String description;


}
